package com.echo.sdk.im.enums;

/**
 * @author chentl
 * @version V1.0
 * @Project ReadEnum
 * @Title ReadEnum.java
 * @Description 阅读枚举类
 * @date 2019/12/31 14:37
 */
public enum SocketHandlerEnum {
    CLIENT_BUSINESS("client_business", "业务处理器"),
    CLIENT_FILEUPLOAD("client_fileupload", "文件上传处理器"),
    CLIENT_CLOSED("client_closed", "连接处理器"),
    CLIENT_AUTHORIZATION("client_authorization", "授权处理器");

    SocketHandlerEnum(String code, String body) {
        this.code = code;
        this.body = body;
    }

    private String code;

    private String body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
